package cc.edgar.owner.simple;

import org.aeonbits.owner.Accessible;
import org.aeonbits.owner.Config.HotReload;
import org.aeonbits.owner.Config.Sources;

/**
 * Application configuration properties are defined here.
 * 
 * @createdBy edgar.chan <lineshow7@hotmail.com>
 * @createdOn 2017年12月22日
 */
@HotReload
@Sources({
"classpath:my-app.properties","http://static.edgar.cc/api/contrast_code_zh_CN1.properties"})

public interface ApplicationConfig extends Accessible {
 @DefaultValue("40")
 @Key("app.timeout")
 int getInitialTimeout();
}
